function MovieDetailElement( details ) {
	var tags = '<img id="p" src="http://cf2.imgobject.com/t/p/w154' + details.poster_path + '">';
	
	tags += '<h2>' + details.original_title + '</h2>'; // title
	
	/* rental link - if movie is over a year old */
	if( new Date(details.release_date).getFullYear() < ( new Date().getFullYear() - 1 ) )
	
		tags += '<a href="javascript:rent('+details.id+')">Rent this movie</a><br><br>'; // rental link
	else
		tags += '<p>This movie is unavailable<p>';
	

	tags += ( (User.read().interests[details.id.toString()] == 1.0)
				? '<br><img src="img/like.png">'
				: '<a id="like" href="javascript:like()">Like</a>'
			)
		+ '<p>' + details.overview + '</p>';             // overview
		+ '<p>Released date: '+details.release_date+'</p>' // more details
		+ '<p>Runtime: ' + details.runtime + '</p>'
	
	return tags;
}